package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @create 2020/11/19 0019 13:14
 */
public interface SetmealService {
    
    void add(Setmeal setmeal, Integer[] checkgroupIds);
    
    PageResult pageQuery(QueryPageBean queryPageBean);
    
    List<Setmeal> findAll();
    
    Setmeal findById(int id);
    
    void delete(Integer id);
    
    List<Integer> findcheckgroupIdsBySetmealId(Integer id);
    
    void edit(Setmeal setmeal, Integer[] checkgroupIds);
    
    List<Map<String, Object>> findSetmealCount();
    
}
